package _1._0._0._127.ormrpc.services.WSOtherIssueBillFacade;

public class WSOtherIssueBillFacadeSrvProxyProxy implements WSOtherIssueBillFacadeSrvProxy {
    private String _endpoint = null;
    private WSOtherIssueBillFacadeSrvProxy wSOtherIssueBillFacadeSrvProxy = null;

    public WSOtherIssueBillFacadeSrvProxyProxy() {
        _initWSOtherIssueBillFacadeSrvProxyProxy();
    }

    public WSOtherIssueBillFacadeSrvProxyProxy(String endpoint) {
        _endpoint = endpoint;
        _initWSOtherIssueBillFacadeSrvProxyProxy();
    }

    private void _initWSOtherIssueBillFacadeSrvProxyProxy() {
        try {
            wSOtherIssueBillFacadeSrvProxy = (new WSOtherIssueBillFacadeSrvProxyServiceLocator()).getWSOtherIssueBillFacade();
            if (wSOtherIssueBillFacadeSrvProxy != null) {
                if (_endpoint != null)
                    ((javax.xml.rpc.Stub) wSOtherIssueBillFacadeSrvProxy)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
                else
                    _endpoint = (String) ((javax.xml.rpc.Stub) wSOtherIssueBillFacadeSrvProxy)._getProperty("javax.xml.rpc.service.endpoint.address");
            }

        } catch (javax.xml.rpc.ServiceException serviceException) {
        }
    }

    public String getEndpoint() {
        return _endpoint;
    }

    public void setEndpoint(String endpoint) {
        _endpoint = endpoint;
        if (wSOtherIssueBillFacadeSrvProxy != null)
            ((javax.xml.rpc.Stub) wSOtherIssueBillFacadeSrvProxy)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);

    }

    public WSOtherIssueBillFacadeSrvProxy getWSOtherIssueBillFacadeSrvProxy() {
        if (wSOtherIssueBillFacadeSrvProxy == null)
            _initWSOtherIssueBillFacadeSrvProxyProxy();
        return wSOtherIssueBillFacadeSrvProxy;
    }

    public String[] importData(String xmlData) throws java.rmi.RemoteException, otherissuebillfacade.client.WSInvokeException {
        if (wSOtherIssueBillFacadeSrvProxy == null)
            _initWSOtherIssueBillFacadeSrvProxyProxy();
        return wSOtherIssueBillFacadeSrvProxy.importData(xmlData);
    }


}